home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat3 / Tm / tmlist.z / tmlist
Encoding:
Text File  |  2002-10-03  |  8.2 KB  |  265 lines

  1.  
  2.  
  3.  
  4. TTTTmmmmLLLLiiiisssstttt((((3333TTTTmmmm))))                                                        TTTTmmmmLLLLiiiisssstttt((((3333TTTTmmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      TTTTmmmmLLLLiiiisssstttt - the List widget class
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      xxxxmmmmLLLLiiiisssstttt  pathName [options]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      This is the _t_c_l binding to the Motif List widget.
  16.  
  17. CCCCLLLLAAAASSSSSSSSEEEESSSS
  18.      The class name for resource files is XXXXmmmmLLLLiiiisssstttt.... Resources are inherited from
  19.      TTTTmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee,,,, TTTTmmmmCCCCoooorrrreeee.... Methods are inherited from TTTTmmmmCCCCoooorrrreeee....
  20.  
  21. RRRREEEESSSSOOOOUUUURRRRCCCCEEEESSSS
  22.      The new resources are
  23.  
  24.           automaticSelection
  25.           doubleClickInterval
  26.           itemCount
  27.           items
  28.           listMarginHeight
  29.           listMarginWidth
  30.           listSizePolicy
  31.           listSpacing
  32.           scrollBarDisplayPolicy
  33.           selectedItemCount
  34.           selectedItems
  35.           stringDirection
  36.           topItemPosition
  37.           visibleItemCount
  38.  
  39.  
  40.      iiiitttteeeemmmmCCCCoooouuuunnnntttt
  41.           The value for this resource is the number of iiiitttteeeemmmmssss.... If this number
  42.           is different from the actual number of items in the list, Motif will
  43.           probably core dump.
  44.  
  45.      iiiitttteeeemmmmssss
  46.           The value for this resource is a string consisting of words
  47.           separated by commas.  An item may contain a comma if it is prefixed
  48.           by the escape character as in `\,'.
  49.  
  50.  
  51.      sssseeeelllleeeeccccttttiiiioooonnnnPPPPoooolllliiiiccccyyyy
  52.           The values for this resource are
  53.                single_select
  54.                multiple_select
  55.                extended_select
  56.                browse_select
  57.                extendedSelectionCallback
  58.                multipleSelectionCallback
  59.                singleSelectionCallback
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TTTTmmmmLLLLiiiisssstttt((((3333TTTTmmmm))))                                                        TTTTmmmmLLLLiiiisssstttt((((3333TTTTmmmm))))
  71.  
  72.  
  73.  
  74. MMMMEEEETTTTHHHHOOOODDDDSSSS
  75.      The extra methods supported for this class are
  76.  
  77.           addItem
  78.           addItemUnselected
  79.           deleteItem
  80.           deleteAllItems
  81.           deletePosition
  82.           deselectAllItems
  83.           deselectItem
  84.           deselectPosition
  85.           itemExists
  86.           positionSelected
  87.           selectItem
  88.           selectPosition
  89.           setBottomItem
  90.           setBottomPosition
  91.           setItem
  92.           setPosition
  93.           browseSelectionCallback
  94.           defaultActionCallback
  95.  
  96.      aaaaddddddddIIIItttteeeemmmm item position
  97.           Add an item to the list at a particular position.  A position of 1
  98.           makes it the first, 2 makes it second, etc.  A position of 0 makes
  99.           it the last item.
  100.  
  101.  
  102.      aaaaddddddddIIIItttteeeemmmmUUUUnnnnsssseeeelllleeeecccctttteeeedddd item position
  103.           Add an item to the list at a particular position.  Do not select the
  104.           item even if it is in the selected set.
  105.  
  106.  
  107.      ddddeeeelllleeeetttteeeeIIIItttteeeemmmm item
  108.           Delete the first matching item from the list.
  109.  
  110.  
  111.      ddddeeeelllleeeetttteeeePPPPoooossssiiiittttiiiioooonnnn position
  112.           Delete the item at the position in the list.
  113.  
  114.  
  115.      ddddeeeesssseeeelllleeeeccccttttAAAAllllllllIIIItttteeeemmmmssss
  116.           remove all items from the selected set.
  117.  
  118.  
  119.      ddddeeeesssseeeelllleeeeccccttttIIIItttteeeemmmm  item
  120.           Deselect the first item in the selected set that matches the item.
  121.  
  122.  
  123.      ddddeeeesssseeeelllleeeeccccttttPPPPoooossssiiiittttiiiioooonnnn position
  124.           Deselect the item at the specified position.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. TTTTmmmmLLLLiiiisssstttt((((3333TTTTmmmm))))                                                        TTTTmmmmLLLLiiiisssstttt((((3333TTTTmmmm))))
  137.  
  138.  
  139.  
  140.      iiiitttteeeemmmmEEEExxxxiiiissssttttssss  item
  141.           returns "true" if the item is in the list, otherwise "false"
  142.  
  143.  
  144.      iiiitttteeeemmmmPPPPoooossssiiiittttiiiioooonnnn  item
  145.           returns the position of the item in the list.
  146.  
  147.  
  148.      sssseeeelllleeeeccccttttIIIItttteeeemmmm  item notify
  149.           Selects the item, and if notify is true calls the selection callback
  150.  
  151.  
  152.      sssseeeelllleeeeccccttttPPPPoooossssiiiittttiiiioooonnnn position notify
  153.           Selects the item at the position, and if notify is true calls the
  154.           selection callback.
  155.  
  156.  
  157.      sssseeeettttBBBBoooottttttttoooommmmIIIItttteeeemmmm item
  158.           make the specified item the last visible item in the list
  159.  
  160.  
  161.      sssseeeettttBBBBoooottttttttoooommmmPPPPoooossssiiiittttiiiioooonnnn  position
  162.           make the item at the position the last visible item in the list.
  163.  
  164.  
  165.      sssseeeettttIIIItttteeeemmmm  item
  166.           make the item the first visible item in the lis
  167.  
  168.  
  169.      sssseeeettttIIIItttteeeemmmm  item
  170.           make the item the first visible item in the list
  171.  
  172.  
  173. CCCCAAAALLLLLLLLBBBBAAAACCCCKKKK SSSSUUUUBBBBSSSSTTTTIIIITTTTUUUUTTTTIIIIOOOONNNNSSSS
  174.      The following substitutions are supported:
  175.           %%%%rrrreeeeaaaassssoooonnnn - the additional values are
  176.                browse_select
  177.                default_action
  178.                extended_select
  179.                multiple_select
  180.                single_select
  181.      %%%%iiiitttteeeemmmm - the selected item.
  182.      %%%%iiiitttteeeemmmm____ppppoooossssiiiittttiiiioooonnnn - the position of the selected item.
  183.      %%%%sssseeeelllleeeecccctttteeeedddd____iiiitttteeeemmmmssss - the list of selected items.
  184.      %%%%sssseeeelllleeeecccctttteeeedddd____iiiitttteeeemmmm____ccccoooouuuunnnntttt - the number of selected items.
  185.      %%%%sssseeeelllleeeeccccttttiiiioooonnnn____ttttyyyyppppeeee - one of iiiinnnniiiittttiiiiaaaallll mmmmooooddddiiiiffffiiiiccccaaaattttiiiioooonnnn aaaaddddddddiiiittttiiiioooonnnn
  186.  
  187. BBBBUUUUGGGGSSSS
  188.      If the number of items is different from the number set in itemCount,
  189.      Motif will probably core dump.
  190.  
  191.      The list of items is a tcl list.  This is different to the comma-
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. TTTTmmmmLLLLiiiisssstttt((((3333TTTTmmmm))))                                                        TTTTmmmmLLLLiiiisssstttt((((3333TTTTmmmm))))
  203.  
  204.  
  205.  
  206.      separated list usually used by Motif.  Sorry about the inconsistency.
  207.  
  208.  
  209. AAAAUUUUTTTTHHHHOOOORRRR
  210.      Jan Newmarch, University of Canberra
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.